Fix problem with g_return_if_fail return value.
authorOwen Taylor <otaylor@redhat.com>
Mon, 22 Oct 2001 04:34:42 +0000 (04:34 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 22 Oct 2001 04:34:42 +0000 (04:34 +0000)
commit46dde8042854304a12db1e687df00300d517d9e6
treed8d950524745bcdd4e4fcb87ecfc66e16cd370c7
parent724a552c7d00889bcc64127e8921cd11d3eb6ec4
Fix problem with g_return_if_fail return value.

Sun Oct 21 23:27:00 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_translate_coordinates): Fix
problem with g_return_if_fail return value.

  * gdk/x11/gdkproperty-x11.c docs/Changes-2.0.txt: Move over the
virtual atom code from the gdk-multihead branch, removing the per-display
part. Virtualizing atoms needs to be done now to prevent compat
breakage in direct Xlib accessing code in the future. (#62208)

  * gdk/x11/gdkx.h: gdk/gdk/x11/gdkproperty-x11.c: Export
  gdk_x11_xatom_to_atom, gdk_x11_atom_to_xatom().

* gdk/gdktypes.h docs/Changes-2.0.txt: Make GdkAtom
an opaque pointer type so the compiler catches attempts
to mingle it with X atoms.

* gdk/x11/{gdkdnd-x11.c,gdkevents-x11.c,gdkglobals-x11.c,
  gdkkeys-x11.c, gdkmain-x11.c, gdkprivate-x11.c,
  gdkproperty-x11.c, gdkselection-x11.c, gdkwindow-x11.c}
  gtk/{gtkclist.c,gtkctree.c,gtkdnd.c,gtkplug.c,gtksocket.c}
  tests/testdnd.c,tests/testselection.c:
Fix up for above atom changes.

* gdk/gdkselection.h (GDK_SELECTION_CLIPBOARD): Add, since we
now have the ability to add custom predefines.

* gtk/{gtkentry.c,gtklabel.c,gtkoldeditable.c,gtktextview.c}:
Use GDK_SELECTION_CLIPBOARD instead of GDK_NONE in calls
to gtk_clipboard_get().

* gdk/win32/gdkproperty-win32.c: Add CLIPBOARD, fix up
for GdkAtom => pointer change.

* gdk/linux-fb/gdkproperty-fb.c: Fix handling of predefined
atoms, fix for GdkAtom => pointer change.
29 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkselection.h
gdk/gdktypes.h
gdk/linux-fb/gdkproperty-fb.c
gdk/win32/gdkproperty-win32.c
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkevents-x11.c
gdk/x11/gdkglobals-x11.c
gdk/x11/gdkkeys-x11.c
gdk/x11/gdkmain-x11.c
gdk/x11/gdkprivate-x11.h
gdk/x11/gdkproperty-x11.c
gdk/x11/gdkselection-x11.c
gdk/x11/gdkwindow-x11.c
gdk/x11/gdkx.h
gtk/gtkclist.c
gtk/gtkctree.c
gtk/gtkdnd.c
gtk/gtkplug.c
gtk/gtksocket.c
gtk/gtkwidget.c
tests/testdnd.c
tests/testselection.c